<div class="row">
<?php $form=$this->beginWidget('CActiveForm', array(
    'id'=>'memberpass-_form-form',
    'enableAjaxValidation'=>true,
    'enableClientValidation'=>true,
    'clientOptions'=>array(  
        'validateOnSubmit'=>true,  
     ),
)); ?>
<table class="table table-bordered table-hover definewidth">
    <tbody>
    	<tr>
            <td width="10%" class="tableleft">
	        	<?php echo $form->labelEx($model,'username'); ?>
	        </td>
            <td>
		        <?php echo $model->username;?>
	        </td>            
	    </tr>
	    <tr>
            <td width="10%" class="tableleft">
        		<?php echo $form->labelEx($model,'oldpass'); ?>
        	</td>
            <td>
		        <input type="password" name="oldpassword" value="" class="txt" autocomplete="off" />
		        
	        </td>            
	    </tr>
	    <tr>
            <td width="10%" class="tableleft">
        		<?php echo $form->labelEx($model,'password'); ?>
        	</td>
            <td>
		        <?php echo $form->passwordField($model,'password',array('class'=>'txt pull-left','AUTOCOMPLETE'=>'off')); ?>
		        <?php echo $form->error($model,'password'); ?> 
	        </td>            
	    </tr>
	    
	    <tr>
            <td width="10%" class="tableleft">
        		<?php echo $form->labelEx($model,'password2'); ?>
        	</td>
            <td>
		        <?php echo $form->passwordField($model,'password2',array('class'=>'txt pull-left','AUTOCOMPLETE'=>'off')); ?>
		        <?php echo $form->error($model,'password2'); ?> 
	        </td>
	    </tr>
		<tr>
	        <td class="tableleft"></td>
	        <td>
	        	<?php echo CHtml::submitButton('保存',array('class'=>'button button-primary'));?>
	        </td>
	    </tr>
    <tbody>
</table>

<?php $this->endWidget(); ?>
</div>